Skip to content

Conversation

@NoelStephensUnity
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity commented Nov 24, 2024

This PR resolves two issues discovered while fiddling around with a server hosted (i.e. non-host) session specific project.

  • NetworkBehaviorEditor: Would throw exceptions if you tried to view the observers of a spawned NetworkObject.
  • ParentSyncMessage: Was exiting when a server would receive a message from a client. We now allow clients to parent locally if they have the "Allow Owner to Parent" setting enabled.

Changelog

  • Fixed: Issue where NetworkBehaviorEditor would throw exceptions if you tried to view the observers of a spawned NetworkObject.
  • Fixed: Issue where ParentSyncMessage was exiting early during serialization when a server would receive a message from a client. We now allow clients to parent locally if they have the "Allow Owner to Parent" setting enabled and so this is a valid scenario.

Testing and Documentation

  • No test were included.
  • No documentation changes or additions were necessary.

Fixed issue where NetworkObjectEditor would throw an exception when you tried to view the NetworkObject.Observers in the inspector view when in playmode.
Fixed issue where the parent sync message was ignoring deserialization on the server side (clients can parent if the NetworkObject has the allow clients to parent flag set).
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review November 24, 2024 04:06
@NoelStephensUnity NoelStephensUnity requested a review from a team as a code owner November 24, 2024 04:06
@NoelStephensUnity NoelStephensUnity merged commit 2b0a9b2 into develop-2.0.0 Nov 24, 2024
24 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/server-only-revent-v2-issues-discovered branch November 24, 2024 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants